package com.xhwl.centiotdata.service.cent;

import com.xhwl.common.pojo.cent.bi.Company;
import com.xhwl.common.pojo.statistics.OdsOperationSale;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;

import java.util.List;

/**
 * @Author： lianghz
 * @Description：
 * @Date 2021/09/22/ 14:21
 */
@FeignClient(name = "cent-bi")
public interface IBiCompanyCentService {

    @RequestLine(value = "POST /company-service/async-info")
    void asyncInfo(@Param("companyList") List<Company> companyList, @Param("needClearCategory") boolean needClearCategory);

    @RequestLine(value = "POST /sale-fact/create")
    void asyncSaleInfo(@Param("list") List<OdsOperationSale> list);
}
